package Imp.clients;


import Imp.clients.confing.openFeignConfig;
import Imp.clients.fallback.ItemServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "item-service", fallbackFactory = ItemServiceFallback.class, configuration = openFeignConfig.class)
public interface openFeignlntImp {

    @GetMapping("/api/get/first")
    String getItemSum();

}
